import http from '@/utils/request';
export default {
    /**
    * 查询专业
    * @param param
    * @returns
    */
    async getProfessionList(param) {
        return await http.get("/api/profession/list", param);
    },
    
    async deleteProfessionById(param){
        return await http.delete("/api/profession/delete",param)
    },

    async updateProfessionById(param){
        return await http.put("/api/profession/update",param)
    },

    async addProfession(params){
        return await http.post("/api/profession/add",params)
    }
}